package com.jic.manager.mapper;

import com.jic.manager.entity.WxPublicNum;
import com.jic.conf.request.WxPublicNumRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 微信公众号配置
 * @author : 
 * @email : 
 * @since : 2020-02-16 12:01:15
 * @version : v1.0.0
 */
@Mapper
public interface  WxPublicNumMapper {

    long insert(WxPublicNumRequest wxPublicNumRequest);

    long delete(WxPublicNum id);

    long update(WxPublicNumRequest wxPublicNumRequest);

    WxPublicNum queryByPrimaryKey(Long id);

    List<WxPublicNum> query(WxPublicNum wxPublicNum);

    List<WxPublicNum> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("wxPublicNum") WxPublicNum wxPublicNum);

    long queryPageCount(WxPublicNum wxPublicNum);
}